#ifndef MARCA_TARJETA_H
#define MARCA_TARJETA_H
#include <QDjangoModel.h>
#include <QObject>

class marca_tarjeta : public QDjangoModel
{
    Q_OBJECT
    Q_PROPERTY(int id_marca_tarjeta READ getId_marca_tarjeta WRITE setId_marca_tarjeta)
    Q_PROPERTY(QString nombre READ getNombre WRITE setNombre)
    Q_CLASSINFO("id_marca_tarjeta", "primary_key=true")
public:
    explicit marca_tarjeta(QObject *parent = 0);

    int getId_marca_tarjeta() const;
    void setId_marca_tarjeta(int value);

    QString getNombre() const;
    void setNombre(const QString &value);

signals:

public slots:

private:

    int id_marca_tarjeta;
    QString nombre;

};

#endif // MARCA_TARJETA_H
